package com.mebs.edi.model.dom;

import java.lang.annotation.*;

/**
 * 
 * Used for mapping a model class to DOM node
 * 
 * @author nit
 *
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface DomEntity {
	String name();
	
	// TODO: it seems like discriminator mechanism is not flexible enough.
	// Perhaps, naming conflicts can be resolved by using XML schema?
	String discriminatorAttribute() default "";
	String[] discriminatorValues() default {};
}
